package cn.net.msg.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;

@Component("examtype")
@Entity 
@Table(name = "tb_examtype")
public class TbExamType {
    
    @Id @Column(name = "Exam_typeid",length=11)
    private int examTypeId;
    @Column(name = "Exam_typename",length=11)
    private String examTypeName;    
    
    public int getExamTypeId() {
        return examTypeId;
    }
    public void setExamTypeId(int examTypeId) {
        this.examTypeId = examTypeId;
    }    
    
    public String getExamTypeName() {
        return examTypeName;
    }
    public void setExamTypeName(String examTypeName) {
        this.examTypeName = examTypeName;
    }

}
